
import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
import 'package:yurun_smartmerchants/res/colours.dart';

class Protocol extends StatelessWidget{
  final String url = "https://baidu.com";

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return WebviewScaffold(
      url: url,
      appBar: AppBar(
        backgroundColor: Colours.white,
        centerTitle: true,
        iconTheme: IconThemeData(color: Colours.app_words),
        title: Text('用户协议',style: TextStyle(fontSize: 18,color: Colours.app_words),),
      ),
    );
  }

}
